package com.cartrentalsystem.service;

import com.cartrentalsystem.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cartrentalsystem.domain.vo.Result;
import com.cartrentalsystem.domain.vo.UserVo;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LHD
 * @since 2025-06-12
 */
public interface IUserService extends IService<User> {
    UserVo login(String username, String password, String uuid,String code,HttpServletResponse response);

    boolean updateUser(User user);

    Result uploadImage(MultipartFile file);

    boolean updatePassword(Long userId, String username, String oldPassword,String newPassword);
}
